package com.zxh.mall.feign;

import com.zxh.mall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author zhengxh
 * @version 1.0
 * @date 2024/5/12 - 05 - 12 - 20:56
 * @description com.zxh.mall.feign
 */
@FeignClient("mall-third")
public interface ThirdPartyFeignService {

    @GetMapping("/sms/sendCode")
    public R sendSmsCode(@RequestParam("phone") String phone, @RequestParam("code") String code);
}
